package com.hpch.business.param;

import com.hpch.common.core.annotation.QueryField;
import com.hpch.common.core.annotation.QueryType;
import com.hpch.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 单页内容表查询参数
 *
 * @author EleAdmin
 * @since 2025-03-02 19:12:18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ArticleParam对象", description = "单页内容表查询参数")
public class ArticleParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer id;

    @ApiModelProperty(value = "是否删除")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @ApiModelProperty(value = "栏目ID")
    @QueryField(type = QueryType.EQ)
    private Integer catid;

    @ApiModelProperty(value = "分类全路径")
    private String fullcategorypath;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "缩略图")
    private String thumb;

    @ApiModelProperty(value = "简述")
    private String sketchs;

    @ApiModelProperty(value = "详情")
    private String content;

    @ApiModelProperty(value = "属性 0  未推荐  1 推荐到首页大图 2 推荐到首页要闻 3 推荐到首页列表小图")
    @QueryField(type = QueryType.EQ)
    private Integer flag;

    @ApiModelProperty(value = "SEO关键词")
    private String keywords;

    @ApiModelProperty(value = "SEO描述")
    private String description;

    @ApiModelProperty(value = "Tags标签")
    private String tags;

    @ApiModelProperty(value = "排序")
    @QueryField(type = QueryType.EQ)
    private Integer listorder;

    @ApiModelProperty(value = "用户id")
    @QueryField(type = QueryType.EQ)
    private Integer uid;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "是否后台添加")
    @QueryField(type = QueryType.EQ)
    private Boolean sysadd;

    @ApiModelProperty(value = "点击量")
    @QueryField(type = QueryType.EQ)
    private Integer hits;

    @ApiModelProperty(value = "显示时间")
    private String showTime;

    @ApiModelProperty(value = "链接地址")
    private String url;

    @ApiModelProperty(value = "状态")
    @QueryField(type = QueryType.EQ)
    private Integer statusFlag;

    @ApiModelProperty(value = "推荐图片")
    private String recImg;

    @ApiModelProperty(value = "1 使用列表图 2 使用自定义图片")
    @QueryField(type = QueryType.EQ)
    private Integer recType;

}
